<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="Css/login.css">
	 <script type="text/javascript">
   function Register(){
         window.location.href="register.jsp"
         }
  </script>
  </head>

<body>
    <div class="box">
        <h2>医伯乐招聘网站</h2>
  <s:form action="Login" method="post">
    <div class="inputBox">
      <input type="text" name="UserName" required="">
      <label>账号</label>
    </div>
    <div class="inputBox">
		<input type="password" name="PassWord" required="">
		<label>密码</label>
    </div>
    <input type="submit"  value="登录"> 
     <input type="button"  value="注册" onclick="Register()"> 
	  </s:form>
	</div>
    </body>
</html>

